<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onLoad() {
			const value = uni.getStorageSync('launchFlag')
			if(value){
				uni.switchTab({
					url:'/pages/index/index'
				})
			}else{
				uni.setStorageSync('launchFlag',true)
				uni.redirectTo({
					url:'/pages/guide/guide'
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
